package com.demo.biz.impl;

import com.demo.biz.UserBiz;
import com.demo.dao.UserDao;
import com.demo.dao.impl.UserDaoImpl;
import com.demo.entity.User;

public class UserBizImpl implements UserBiz {

	private UserDao userDao;
	
	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}

	public String query() {
		System.out.println("业务类在工作...");
		return userDao.query();
	}

	public void save(User user) {
		System.out.println("业务类在工作...");
		userDao.save(user);
		
	}
	
}
